<template>
	<view class="addresslistmian">
		<view class="list">
			<view>
				<text>收货人:</text>
				<text>{{ addressdata.name }}</text>
			</view>
			<view>
				<text>手机号:</text>
				<text>{{ addressdata.phone }}</text>
			</view>
			<view>
				<text>所在地区:</text>
				<text>
					{{ addressdata.province }}{{ addressdata.city
					}}{{ addressdata.county }}
				</text>
			</view>
			<view>
				<text>详细地址:</text>
				<text>{{ addressdata.address }}</text>
			</view>
		</view>
	</view>
</template>

<script setup>
const props = defineProps({
	addressdata: {
		type: Object,
		default() {
			return {};
		}
	}
});
</script>
<style lang="scss">
.addresslistmian {
	position: relative;
	height: 150px;
	padding: 0 10px;
	.list {
		margin-top: 10px;
		border: 1px solid;
		border-radius: 10px;
		padding: 10px;
		view {
			height: 30px;
			line-height: 30px;
		}
	}
}
</style>
